package com.chainshop.pojo;

/**
 * @author Administrator
 * @version 1.0
 * @title A
 * @description
 * @create 2024/8/13 19:41
 */
import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.chainshop.common.annotation.Excel;
import com.chainshop.common.core.domain.BaseEntity;

/**
 * 存储岗位信息的对象 employee_positions
 *
 * @author ruoyi
 * @date 2024-08-13
 */
public class EmployeePositions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 岗位ID */
    private Integer id;

    /** 岗位名称 */
    @Excel(name = "岗位名称")
    private String position;

    /** 工资 */
    @Excel(name = "工资")
    private BigDecimal salary;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setPosition(String position)
    {
        this.position = position;
    }

    public String getPosition()
    {
        return position;
    }
    public void setSalary(BigDecimal salary)
    {
        this.salary = salary;
    }

    public BigDecimal getSalary()
    {
        return salary;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("position", getPosition())
                .append("salary", getSalary())
                .append("status", getStatus())
                .toString();
    }
}
